/* Estilos generales para móviles */
@media (max-width: 768px) {
    body {
      font-size: 14px;
      line-height: 1.5;
    }
  
    header {
      flex-direction: column;
      height: auto;
      padding: 10px;
    }
  
    header a {
      margin-right: 10px;
    }
  
    /* Barra de navegación */
    .navbar-nav {
      margin-left: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .navbar-nav .nav-link {
      font-size: 16px;
      margin: 10px 0;
    }
  
    nav.navbar {
      background-color: #fff;
      border-bottom: 1px solid #ddd;
      padding: 10px;
    }
  
    /* Carrusel */
    .carousel {
      width: 100%;
      height: 400px;
      margin-top: -40px;
    }
  
    .carousel .list .item img {
      object-fit: cover;
      height: 100%;
    }
  
    .carousel .list .item .content {
      width: 90%;
      top: 10%;
      padding: 0;
      color: #000;
    }
  
    .carousel .list .item .title,
    .carousel .list .item .topic {
      font-size: 2em;
    }
  
    .carousel .list .item .buttons {
      grid-template-columns: repeat(2, 100px);
    }
  
    /* Imágenes pequeñitas */
    .thumbnail {
      flex-direction: row;
      bottom: -50%;
      left: 10%;
      gap: 20px;
    }
  
    .thumbnail .item {
      width: 120px;
      height: 80px;
    }
  
    /* Botones de flechas */
    .arrows {
      top: 90%;
      right: 5%;
      gap: 30px;
    }
  
    .arrows button {
      width: 30px;
      height: 30px;
    }
  
    /* Footer */
    .footer {
      flex-direction: column;
      padding: 20px;
      text-align: center;
    }
  
    .footer-links,
    .footer-form,
    .footer-info,
    .footer-customer-support {
      margin-bottom: 20px;
    }
  
    .footer-form input,
    .footer-form button {
      width: 100%;
    }
  
    /* WhatsApp icono flotante */
    .whatsapp-float {
      width: 50px;
      height: 50px;
      bottom: 15px;
      right: 15px;
    }
  
    .whatsapp-float img {
      width: 25px;
      height: 25px;
    }
  }
  /* Estilo para pantallas pequeñas (teléfonos móviles) */
@media (max-width: 768px) {
    .NOSOTROS {
      width: 100%;
      height: 40vh;
      margin-left: 0;
    }
  
    .NOSOTROS-content {
      max-width: 90%;
      padding: 15px;
    }
  
    .section-title {
      font-size: 24px;
      margin-bottom: 0;
      margin-top: -10%;
    }
  
    .card-section {
      padding: 50px;
    }
  
    .card__container {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  
    .card__article {
      width: 100%;
      height: auto;
      margin-left: 0;
    }
  
    .card__img {
      height: 50%;
    }
  
    .btn-1 {
      font-size: 14px;
      padding: 8px 16px;
    }
  }

  /* Para pantallas de un ancho máximo de 768px (celulares) */
@media (max-width: 768px) {
    /* Título de sección de servicios */
    .section-title {
      font-size: 20px;
      margin-bottom: -100px;
      margin-top: 5%;
    }
  
    /* Sección de las tarjetas */
    .card-section {
      height: auto;
      padding: 50px 20px;
    }
  
    .container {
      padding: 10px;
      max-width: 100%;
    }
  
    /* Contenedor de las tarjetas */
    .card__container {
      grid-template-columns: 1fr; /* Una columna para móviles */
      gap: 20px;
    }
  
    .card__article {
      width: 100%;
      height: auto;
      margin-left: 0;
    }
  
    .card__img {
      height: 200px;
    }
  
    .card__data {
      padding: 10px;
      position: relative;
      box-shadow: none;
    }
  
    .card__description {
      font-size: 12px;
    }
  
    .card__title {
      font-size: 18px;
      margin-bottom: .5rem;
    }
  
    .card__button {
      font-size: 14px;
    }
  
    /* Animaciones ajustadas para móviles */
    @keyframes show-data {
      50% {
        transform: translateY(-5rem);
      }
      100% {
        transform: translateY(-3rem);
      }
    }
  
    @keyframes remove-data {
      0% {
        transform: translateY(-3rem);
      }
      50% {
        transform: translateY(-5rem);
      }
      100% {
        transform: translateY(.5rem);
      }
    }
  }
  
/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    .INFORMACION-info h2 {
      font-size: 30px;
      margin-top: 10px;
      margin-bottom: 10px;
    }
  
    .info-grid {
      grid-template-columns: 1fr; /* Una sola columna en móviles */
      gap: 20px;
    }
  
    .info-item h4 {
      font-size: 20px;
      margin-bottom: 5px;
    }
  
    .info-item p {
      font-size: 16px;
      margin-bottom: 10px;
    }
  
    .sociales {
      gap: 10px;
      margin-top: 10px;
    }
  
    .social img {
      width: 40px;
      height: 40px;
    }
  }
  
  
 /* Enlaces */
.footer-links {
    display: flex;
    flex-direction: column;
  }
  
  .links-section ul {
    list-style: none;
    padding: 0;
  }
  
  .links-section ul li {
    margin-bottom: 10px;
  }
  
  .links-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .links-section ul li a:hover {
    color: #ffd700;
  }
  
  /* Redes sociales */
  .socials-section a img {
    width: 35px;
    height: 35px;
    margin-right: 10px;
    transition: transform 0.3s ease;
  }
  
  .socials-section a img:hover {
    transform: scale(1.2);
  }
  
  /* Formulario */
  .footer-form {
    text-align: center;
  }
  
  .footer-form h4 {
    margin-bottom: 10px;
  }
  
  .footer-form input {
    padding: 8px;
    border: none;
    border-radius: 5px;
    outline: none;
    width: 220px;
    margin-bottom: 10px;
  }
  
  .footer-form button {
    padding: 8px 15px;
    background-color: #ff4081;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .footer-form button:hover {
    background-color: #ff80ab;
  }
  
  #successMessage {
    color: #fff;
    margin-top: 10px;
    font-size: 14px;
  }
  
  /* Información de contacto */
  .footer-info {
    text-align: left;
  }
  
  .footer-info h4 {
    margin-bottom: 10px;
  }
  
  .footer-info p {
    margin: 5px 0;
  }
  
  .footer-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-info a:hover {
    color: #ffd700;
  }
  
  /* Ayuda al cliente */
  .footer-customer-support {
    text-align: left;
  }
  
  .footer-customer-support h4 {
    margin-bottom: 10px;
  }
  
  .footer-customer-support a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-customer-support a:hover {
    color: #ffd700;
  }
  
  /* Responsivo */
  @media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo {
        margin-bottom: 20px;
    }
  }
  
  /* Estilo para el ícono flotante de WhatsApp */
  .whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: rgb(210, 173, 255);
    border-radius: 50%;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
  }
  
  .whatsapp-float img {
    width: 35px;
    height: 35px;
    filter: invert(100%); /* Para cambiar el ícono a blanco */
  }
  
  .whatsapp-float:hover {
    transform: scale(1.1);
    background-color: black; /* Cambia el color al pasar el mouse */
  }